module.exports = {
    publicPath: './',
    devServer: {
        hot: true,
        inline: true,
        watchOptions: {
            poll: true
        },
        port: 8090,
        open: true,
        overlay: {
            warnings: false,
            errors: true
        },
        proxy: {
            ['/api']: {
                target: 'http://127.0.0.1:8080/',
                changeOrigin: true,
                pathRewrite: {
                    '^/api': ''
                }
            }
        }
    }
}